'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 每日任务
 * @author sundbcn@gmail.com (sun debing)
 */

var dailyConf = require('../config/dailyConf');
var genRewardService = require('../services/genRewardService');

/**
 * 获取任务奖励
 */
exports.getRewardList = function (daily_task_id) {
    var reward_list = [];
    var daily_conf = dailyConf.getRewardList(daily_task_id);
    reward_list.push(genRewardService.generateReward(daily_conf));
    return reward_list;
};
